package com.example.mideaoem.model;import java.util.ArrayList;import java.util.List;import com.example.mideaoem.bean.BaseMessage;public class Elec extends BaseMessage{			@Override	public String toString() {		return "Elec [totalValue=" + totalValue + ", totalHour=" + totalHour				+ ", cells=" + cells + "]";	}	public double getTotalValue() {		return totalValue;	}	public void setTotalValue(double totalValue) {		this.totalValue = totalValue;	}	public double getTotalHour() {		return totalHour;	}	public void setTotalHour(double totalHour) {		this.totalHour = totalHour;	}	public List<QueryElecCell> getCells() {		if(cells == null){			cells = new ArrayList<QueryElecCell>();		}		return cells;	}	public void setCells(List<QueryElecCell> cells) {		this.cells = cells;	}	private double totalValue, totalHour;	List<QueryElecCell> cells;		}